﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BindingDebitCard.aspx.cs" Inherits="IsPay.View.BindingDebitCard" %>
<%@ Import Namespace="DataServer.Entities" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>绑定银行卡</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap 使用了2的,IE兼容性更好-->
    <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
    <script src="../Scripts/jquery-1.10.2.min.js"></script>
    <script src="../bootstrap/js/bootstrap.min.js"></script>
    <script src="../Scripts/jquery.md5.js"></script>
    <style type="text/css">
        .auto-style1 {
            width: 237px;
        }
    </style>
    <script type="text/javascript">
        function AddBacnkCard() {
            var bkacpwd = document.getElementById("txtrpBankAccuntPWD");

            if (bkacpwd.value.trim().length <= 0) {
                return;
            } else {
                var strmd5pwd = $.md5(bkacpwd.value.trim());
                bkacpwd.value = strmd5pwd;

            }
            document.getElementById("formaddBankCard").submit();
        }
    </script>

</head>
<body>
    <!-- 容器 start -->
    <div class="container-fluid">

        <div class="row-fluid">
            <div class="span12">

                <form id="formaddBankCard" method="post" action="BindingDebitCard.aspx?ActionType=addsingle">


                    <table style="width: 100%;" class="table table-striped">
                        <tr>
                            <td colspan="3" style="text-align: left; font-weight: bold">*
                                请正确填写您的银行卡信息，方便提现。
                                <input type="hidden" id="sysSafeCode" name="sysSafeCode" />
                                <input type="hidden" id="merchant_id" name="merchant_id" value="" />
                            </td>
                        </tr>
                        <tr>

                            <td style="text-align: right; font-weight: bold">开户人姓名：</td>
                            <td class="auto-style1">
                                <input id="txtBankAccuntName" name="txtBankAccuntName" type="text" class="ipt" value="<%=bcd.BankCardUserName %>" />
                            </td>
                            <td>银行卡号与开户名必须一致，否则提现失败</td>

                        </tr>
                        <tr>

                            <td style="text-align: right; font-weight: bold">开户银行：</td>
                            <td class="auto-style1">
                                <input id="txtBankAccuntBank" name="txtBankAccuntBank" type="text" class="ipt" value="<%=bcd.BankCardBankName %>" />
                            </td>
                            <td></td>

                        </tr>
                        <tr>

                            <td style="text-align: right; font-weight: bold">开户支行：</td>
                            <td class="auto-style1">
                                <input id="txtBankAccuntSubBank" name="txtBankAccuntSubBank" type="text" class="ipt" value="<%=bcd.BankCardSubName %>" />
                            </td>
                            <td>请正确填写，否则可能会导致无法到账</td>
                        </tr>
                        <tr>

                            <td style="text-align: right; font-weight: bold">银行卡号：</td>
                            <td class="auto-style1">
                                <input id="txtBankAccuntCardID" name="txtBankAccuntCardID" type="text" class="ipt" value="<%=bcd.BankCardNo %>" />
                            </td>
                            <td></td>

                        </tr>
                        <tr>

                            <td style="text-align: right; font-weight: bold">重复银行卡号：</td>
                            <td class="auto-style1">
                                <input id="txtrpBankAccuntCardID" name="txtrpBankAccuntCardID" type="text" class="ipt" />
                            </td>
                            <td></td>

                        </tr>
                        <tr>

                            <td style="text-align: right; font-weight: bold">支付密码：</td>
                            <td class="auto-style1">
                                <input id="txtrpBankAccuntPWD" name="txtrpBankAccuntPWD" type="password" class="ipt" />
                            </td>
                            <td></td>

                        </tr>
                        <tr>
                            <td style="text-align: right; font-weight: bold">验证码：</td>
                            <td class="auto-style1">
                                <input id="txtVarifycode" name="txtVarifycode" type="text" class="ipt" />
                            </td>
                            <td>
                                <img src="../View/VarifyCode.aspx" width="98" height="27" onclick="this.src=this.src+'?'" /></td>


                        </tr>
                        <tr>
                            <td>
                                <input id="safeCodeModal" type="hidden" value="1" /></td>
                            <td>
                                <button type="button" class="btn btn-primary"  data-toggle="button" onclick="AddBacnkCard()" >提 交</button>
                                <button type="reset"  class="btn btn-primary" data-toggle="button"  id="reset" >重 置</button></td>

                        </tr>
                        <tr>
                            <td colspan="3" style="text-align: center; font-weight: bold">
                                <asp:Label ID="lblmsg" runat="server" BackColor="White" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </form>

            </div>
        </div>

    </div>




</body>
</html>
